const db = require('db/package.js');

/** @name 套餐列表 **/
exports.list = async ctx => {
  const rows = await db.yd_list();
	ctx.success({
    total: rows.length,
    rows
  });
};

